Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@bolt/core-v3.x
Advanced tools
The new (temporary) version of Bolt Core being used to transition over to Bolt v3.0 as the different moving parts are split into their own smaller, standalone packages.
<ssr-keep>
A "helper" custom element
to wrap around portions of HTML you wish to keep after a web component boots-up. It uses a single attribute, for
, which contains a query selector used to find the closest matching ancestor element and append its inner contents to it. All other HTML up to the matching element will be discarded.
For example, this:
<bolt-accordion-item>
<div class="c-bolt-accordion-item">
<div class="c-bolt-accordion-item__trigger">
<ssr-keep for="bolt-accordion-item">
<div slot="trigger">Trigger text</div>
</ssr-keep>
</div>
<div class="c-bolt-accordion-item__content">
<div class="c-bolt-accordion-item__content-inner">
<ssr-keep for="bolt-accordion-item">
Accordion content
</ssr-keep>
</div>
</div>
</div>
</bolt-accordion-item>
...will become this after the component connects:
<bolt-accordion-item>
<div slot="trigger">Trigger text</div>
Accordion content
</bolt-accordion-item>
FAQs
The new (temporary) version of Bolt Core being used to transition over to Bolt v3.0 as the different moving parts are split into their own smaller, standalone packages.
The npm package @bolt/core-v3.x receives a total of 235 weekly downloads. As such, @bolt/core-v3.x popularity was classified as not popular.
We found that @bolt/core-v3.x demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.